/*
 * AbstractViewPanel.java
 *
 * Created on January 22, 2007, 9:06 AM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package co.edu.usbcali.raju.core;

import javax.swing.JPanel;

import co.edu.usbcali.raju.core.graphics.SoundCache;
import co.edu.usbcali.raju.core.graphics.SpriteCache;
import co.edu.usbcali.raju.games.MoveListener;
import co.edu.usbcali.raju.games.SetupListener;

public abstract class AbstractViewPanel extends JPanel implements SetupListener,MoveListener {
    
	protected AbstractController controller;
	protected SpriteCache spriteCache;
	protected SoundCache soundCache;
	
	
	public SpriteCache getSpriteCache() {
		return spriteCache;
	}
	public void setSpriteCache(SpriteCache spriteCache) {
		this.spriteCache = spriteCache;
	}
	public SoundCache getSoundCache() {
		return soundCache;
	}
	public void setSoundCache(SoundCache soundCache) {
		this.soundCache = soundCache;
	}
	public AbstractController getController() {
		return controller;
	}
	public void setController(AbstractController controller) {
		this.controller = controller;
	}
	    
}
